@import './common.less';

.content-container{
    display: block;
    position: relative;
    height: 100%;
    margin: 0 12px;
    background: @cfff;
    > header,footer,article{
        display: block;
        position: relative;
        padding: 8px 12px;
    }
    > header {
        height: 49px;
        border-bottom: 1px solid #ddd;
        text-align:  right;
        .ant-btn,
        .ant-input {
            margin-left: 12px;
        }
        .ant-input {
            width: 200px;
        }
    }
    > article {
        height: calc(~"100% - 49px - 41px");

        .table-link {
            display: inline-block;
            vertical-align: middle;
            padding: 0 8px;
            margin: 0 4px;
            font-size: .6rem;
            color: #d63385;
            text-align: center;
            border-bottom: 1px solid #d63385 ;
            cursor: pointer;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
    }
    > footer {
        height: 41px;
        border-top: 1px solid #ddd;
        text-align: right;
     }
    &.no-footer {
        > article {
            height: calc(~"100% - 49px ");
        }
    }
}